package model

// 添加输入参数
type UserServiceSignUpReq struct {
	Passport string `v:"required|length:2,16#账号不能为空|账号长度应当在:min到:max之间"`
	Password string `v:"required|length:6,16#请输入确认密码|密码长度应当在:min到:max之间"`
	Salt     string
	Nickname string
}

// 编辑输入参数
type UserServiceUpdateReq struct {
	Id       uint
	Passport string `v:"required|length:2,16#账号不能为空|账号长度应当在:min到:max之间"`
	Nickname string
}
